#include "main.h"

// -------------------------------------------------------------------------------------------
// --- MIPI configuration profiles
// -------------------------------------------------------------------------------------------
combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_SC4236_10BIT_3M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2304, 1296},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_SC3235_10BIT_3M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2304, 1296},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_SC4236_10BIT_3M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2304, 1296},
	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_SC3235_10BIT_3M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2304, 1296},
	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_GC2053_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_GC2053_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX327_12BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX327_12BIT_2M_WDR2to1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_DOL,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_IMX327_12BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_IMX327_12BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_IMX327_10BIT_2M_WDR2to1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_DOL,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_IMX327_10BIT_2M_WDR2to1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_DOL,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX307_12BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate  = MIPI_DATA_RATE_X1,
	.img_rect   = {0, 0, 1280, 720},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_SC2231_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_SC2231_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN0_SENSOR_F37_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_2lane_CHN1_SENSOR_F37_10BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 2, -1, -1}
		}
	}
};

combo_dev_attr_t MIPI_CMOS_SENSOR_SC2235_12BIT_2M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_CMOS,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX307_12BIT_2M_WDR2to1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_DOL,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX335_12BIT_5M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2592, 1944},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX335_10BIT_5M_WDR2TO1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2592, 1944},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_VC,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX335_12BIT_4M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2592, 1520},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX335_10BIT_4M_WDR2TO1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {12, 14, 2592, 1520},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_VC,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_IMX335_10BIT_4M_WDR2TO1_BINNING_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {12, 14, 1296, 972},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_VC,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_OS05A_12BIT_5M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2688, 1944},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_OS05A_12BIT_4M_NOWDR_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2688, 1536},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_12BIT,
			HI_MIPI_WDR_MODE_NONE,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t MIPI_4lane_CHN0_SENSOR_OS05A_10BIT_4M_WDR2TO1_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_MIPI,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 2688, 1536},

	{
		.mipi_attr =
		{
			DATA_TYPE_RAW_10BIT,
			HI_MIPI_WDR_MODE_VC,
			{0, 1, 2, 3}
		}
	}
};

combo_dev_attr_t BT1120_2M_30FPS_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_BT1120,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},
};

combo_dev_attr_t BT656_2M_30FPS_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_BT656,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},
};

combo_dev_attr_t BT601_2M_30FPS_ATTR = {
	.devno = 0,
	.input_mode = INPUT_MODE_BT601,
	.data_rate = MIPI_DATA_RATE_X1,
	.img_rect = {0, 0, 1920, 1080},
};
